//
//  Cookbook.swift
//  SearchBarView
//
//  Created by liaokylin on 2024/10/13.
//

import SwiftUI

struct Cookbook: View {
    private var gridItemLayout = [GridItem(.flexible(),spacing: 0),GridItem(.flexible(),spacing:10)]
    var body: some View {
        ScrollView{
            LazyVGrid(columns: gridItemLayout,spacing: 10) {
                ForEach((0...10),id:\.self) { _ in
                    Teletext()
                }
            }
        }
    }
}

#Preview {
    Cookbook()
}
